package sli.sli2.domain;

import java.util.Date;

public class AccessPermission {

	private int userId;
	private int zoneId;
	
	private Date startTime;
	private Date endTime;
	
	public AccessPermission(int userId, int zoneId, Date d1, Date d2) {
		this.endTime = d2;
		this.startTime = d1;
		this.userId = userId;
		this.zoneId = zoneId;
	}
	
	public int getUserId() {
		return userId;
	}
	
	public void setUserId(int userId) {
		this.userId = userId;
	}

	public int getZoneId() {
		return zoneId;
	}

	public void setZoneId(int zoneId) {
		this.zoneId = zoneId;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	
	
	
	
	
	
	
}
